/**
 * Copyright &copy; 2012-2014 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.qipa.entity;

import com.baomidou.mybatisplus.annotations.IdType;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;

import java.io.Serializable;
import java.util.Date;

/**
 * 游戏管理Entity
 * @author 系统管理员
 * @version 2019-09-06
 */
 @TableName("m_chat_op")
public class ChatOp extends BaseEntity implements Serializable {
	
	@TableField(exist = false)
	private static final long serialVersionUID = 1L;

	@TableId(type = IdType.AUTO, value = "id")
	private Integer id;

	@TableField(value = "user_id")
	private String userId;

	/** 角色ID */
	@TableField(value = "role_id")
	private String roleId;

	/** 聊天记录ID */
	@TableField(value = "chat_list_id")
	private String chatListId;

	/** 游戏ID */
	@TableField(value = "game_id")
	private Integer gameId;

	/** 状态 */
	@TableField(value = "op_status")
	private Integer opStatus;

	/** 操作时间 */
	@TableField(value = "op_time")
	private Date opTime;

	/** 禁言截止时间 */
	@TableField(value = "shutup_time")
	private Date shutupTime;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getRoleId() {
		return roleId;
	}

	public void setRoleId(String roleId) {
		this.roleId = roleId;
	}

	public String getChatListId() {
		return chatListId;
	}

	public void setChatListId(String chatListId) {
		this.chatListId = chatListId;
	}

	public Integer getGameId() {
		return gameId;
	}

	public void setGameId(Integer gameId) {
		this.gameId = gameId;
	}

	public Integer getOpStatus() {
		return opStatus;
	}

	public void setOpStatus(Integer opStatus) {
		this.opStatus = opStatus;
	}

	public Date getOpTime() {
		return opTime;
	}

	public void setOpTime(Date opTime) {
		this.opTime = opTime;
	}

	public Date getShutupTime() {
		return shutupTime;
	}

	public void setShutupTime(Date shutupTime) {
		this.shutupTime = shutupTime;
	}
}